package cn.ztydata.teachingsystem.heaven.web.dto.questionAnswer;

/**
 * Created by wl on 2015/3/19.
 */
public class QuestionDto {

    private Long id; //ID
    private String title; //标题
    private String content; //问题内容
    private Integer best; //是否为精选（0不是 1是）
    private String time; //创建时间
    private Long userId; //创建人ID
    private String name; //创建人姓名
    private String photo; //创建人头像
    private Long roleId; //创建人角色（0老师  1学生）
    private Integer status; //问题状态
    private Long views; //浏览量
    private Long answers; //答案数
    private Long groupId; //群组ID

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getBest() {
        return best;
    }

    public void setBest(int best) {
        this.best = best;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Long getViews() {
        return views;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public Long getAnswers() {
        return answers;
    }

    public void setAnswers(Long answers) {
        this.answers = answers;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }
}
